import AbstractModel from "./abstract.model";

export enum DEGREE {
    SERIOURS_URGENT = 1,
    SERIOURS_NOT_URGENT = 2,
    NOT_SERIOURS_URGENT = 3,
    NOT_SERIOURS_NOT_URGENT = 4
}

export enum STATUS {
    ARCHIVE = -1,
    PROCESSING = 1
}

export class Schedule extends AbstractModel { 
    title: string;
    beginTime: Date;
    endTime: Date;
    category: number;
    uid: number;
    description: string;
    degree: DEGREE;
    status: STATUS;

    constructor($obj) { 
        super($obj);
    }

}